'use strict';
/**
 * @fileoverview 服务器状态
 * @author sundbcn@gmail.com (sun debing)
 */

var mongoose = require('mongoose');
var _ = require('lodash');

/**
 * 激活码
 */
var serverStatusSchema = new mongoose.Schema({
    // 服务器id
    server_id: {
        type: Number,
        required: true,
        unique: true,
        index: true
    },

    // 游戏锁定状态
    game_locked: {
        type: Boolean,
        default: false
    },
});

mongoose.model('ServerStatus', serverStatusSchema);
